<?php
namespace Mobile\Controller;
use Think\Controller;
class CommonController extends Controller {
	public function _initialize(){
		if(!C('regis_on')){
		    E('网站维护中');
		    die();
		}
		if(!ismobile()) header('location:index.html');
	}
}